package com.yhd.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yhd.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * @author yinhuidong
 * @createTime 2020-07-08-18:10
 */
public interface AdminService extends IService<Admin> {
   Admin getInfoByUsernameAndPassword(String username, String password);
   IPage<Map<String, Object>> getPageInfo(Map<String, Object> queryParam, int offset, int size);
   Admin getByUsername(String username);

}
